package com.mms.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Department entity. @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class Department implements java.io.Serializable {

    // Fields

    private Integer deId;
    private String deName;
    private int num;
    private Set staffs = new HashSet(0);

    // Constructors

    /** default constructor */
    public Department() {
    }

    /** full constructor */
    public Department(String deName, Set staffs) {
        this.deName = deName;
        this.staffs = staffs;
    }

    // Property accessors

    public Integer getDeId() {
        return this.deId;
    }

    public void setDeId(Integer deId) {
        this.deId = deId;
    }

    public String getDeName() {
        return this.deName;
    }

    public void setDeName(String deName) {
        this.deName = deName;
    }

    public Set getStaffs() {
        return this.staffs;
    }

    public void setStaffs(Set staffs) {
        this.staffs = staffs;
    }

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

}